﻿using System;
using Framework.Poco;
using System.Collections.Generic;

namespace Framework.Mvc
{
    /// <summary>
    /// 友情链接创建的视图模型
    /// </summary>
    public class FriendlyLinkCreateViewModel : InstanceViewModel<FriendlyLink>
    {
        /// <summary>
        ///  获取或设置可选择的经销商分组
        /// </summary>
        public IEnumerable<AgencyGroup> AgencyGroups { get; set; }

        /// <summary>
        /// 获取或设置用户选择的经销商分组编号
        /// </summary>
        public Guid AgencyGroupIdentity { get; set; }

        /// <summary>
        /// 获取或设置可选择的文章分类
        /// </summary>
        public IEnumerable<Category> Categories { get; set; }

        /// <summary>
        /// 获取或设置用户选择的文章分类编号
        /// </summary>
        public Guid CategoryIdentity { get; set; }
    }
}